package com.design.singleton.hungry;

/**
 * @Author: xiemiao
 * @CreateTime: 2023-05-15  16:39
 * @Description: 饿汉
 * @Version: 1.0
 */
public class HungrySingleton {
    private static final HungrySingleton HUNGRY_SINGLETON = new HungrySingleton();

    private HungrySingleton() {
    }

    public static HungrySingleton getInstance() {
        return HUNGRY_SINGLETON;
    }
}
